Repository navigation
feat(uipath-activity-migrator): get the migrator through uip rpa project migrate, the archive as fallback - #4749
leonard-apostoaie wants to merge 2 commits into
Conversation
…ect migrate, the archive as fallback Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Claude finished @leonard-apostoaie's task in 1m 26s —— View job Coder-eval task lint (advisory)12 task YAMLs changed (all modified, none added). Per-task verdicts: 0 Critical, 0 High, 9 Medium, 1 Low, 2 OK. One more High applies to the whole PR: no passing-run claim. Rubric: .claude/commands/lint-task.md. This check is advisory and never blocks merge. Every task change follows one pattern. Evidence of passing run
Per-task lint
|
|
Claude finished @leonard-apostoaie's task in 2m 6s —— View job SummaryThe skill now gets the Activity Migrator from Change-by-Change Review1. A
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | OK | 1,011 characters; triggers unchanged |
| E2E Tests | Issue | Patterns updated, but no coder-eval run and no task for the fallback |
| Skill Body | Issue | Step 3/4 routing for a uip failure on stdout (#1) |
| References & Assets | OK | Acquisition guide restructured clearly |
| Repo Hygiene | OK | No secrets; C:\Users\me in the output-contract examples is illustrative, same as on main |
Issues for Manual Review
- CLI availability.
rpa project migrateis not inassets/uip-catalog-snapshot.json(CLI 1.207.0-dev.9850). Until a released CLI and Helm ship it, every user takes the fallback, which carries an "unknown command"uipMessage. Confirm the release timing before or soon after merging. - Offline mode.
UIPATH_ACTIVITY_MIGRATOR_OFFLINE=1still callsuip rpa …, on the premise that "migrate versiondownloads nothing". Please confirm thatuipnever installs@uipath/rpa-toolor Helm on demand the first timeuip rparuns. If it can, an admin's no-network setting is bypassed. If it can, skip the uip probe under OFFLINE unless Helm is already installed. - SARIF on stdout. The unit test feeds
"Resolving Helm...\n27.0.207-dev", which implies uip may print progress text to stdout. The summarizer tolerates text before the JSON, so that is fine. Still confirm that uip never writes text after the SARIF, or anything between braces, duringanalyze/upgrade, or the parse breaks. - Argument passthrough. The claim that
uip rpa project migratepasses stdout, stderr, the exit code and--name=valuearguments through unchanged comes from UiPath/Studio#31591. I can't verify it here.
Conclusion
The direction and the script are solid, and the archive path is unchanged and well tested. I'm requesting changes for #1, the misrouted uip-failure case in Step 3/4: an agent following the current guidance would report a missing Helm as "project without workflows". Please also correct the PR description (#4) and get a coder-eval run in once a Helm build with migrate is available.
…ne, reads the last version line, allows a coded-apps prose mention Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Why
The Activity Migrator now ships inside Helm (UiPath/Studio#31591, STUD-82122):
UiPath.Studio.Helm.exe migrate analyze|upgrade|bulk|version. It is in every Windows Helm: the win32-x64 and win32-arm64 Helm npm packages thatuipinstalls, and the Studio MSI's.uip rpa project migrate <verb> <args>runs it with the standalone tool's arguments, SARIF output and exit code. There is no separate npm package and noinstallcommand, so the skill gets the migrator fromuipfirst. The publicUiPath.Upgrade.exearchive (26.10.0) remains as the fallback.What
scripts/ensure-migrator.mjsuip rpa project migrate version, withUIPATH_STUDIO_PIDremoved from the environment. When it prints a version, the result issource: "uip"withcommand: "uip rpa project migrate": no exe, no runtime check, nothing downloaded.not-windowsstops the run.helm-missing, whenuipis missing or too old to have the command, or when its Helm has nomigrateverb. That path works exactly as feat(uipath-activity-migrator): ask before downloading UiPath.Upgrade.exe #4536 describes (missing,--install/--force, offline precedence,update: true), and its results carry uip's reason inuipMessage.UiPath.Upgrade.runtimeconfig.jsoninstead of assuming .NET 8: the 26.10 archive targets .NET 10, the 25.10 ones .NET 8.versionis the last line of uip's output that reads as a version, so a notice printed after it does not hide it.SKILL.md<MIGRATOR>replaces<MIGRATOR_EXE>. It isenv -u UIPATH_STUDIO_PID uip rpa project migratefor sourceuip(Rule 8, PowerShell form included), and"<exe>"for the archive.references/acquisition-guide.mdHELM_LOCAL_DIR) and what each uip failure means.uip update, or reinstalling uip with its optional Helm dependency, as the alternative to downloading. Also managed environments, the archive's variables, manual placement and the output contract.scripts/summarize-sarif.mjs: a uip failure (its FailureOutput JSON) redirected into the.sarifexits 2 asfailure reported by uip, with uip's code and message, instead of reading as a log without results. Steps 3 and 4 send that case back to Step 0.references/tool-behavior-guide.mdand the package guides: use<MIGRATOR>.uip rpa project migrate analyze|upgrade.studioweb-browser-commands.jsonallows the newuip rpa project migrateanduip updatementions; the Studio Web flavor stops this skill before Step 0. It also allows the proseuip codedapp packpointer inuipath-coded-apps/references/widgets/decisions-and-reasons.md, which came with feat(uipath-coded-apps): decision capture with the decisions-and-reasons widget #4233 and pushed that skill one over its ceiling.Verification
node --teston the ensure-migrator, summarize-sarif and studioweb-browser-commands suites: 94 tests, 93 passed, 0 failed, 1 skipped (the non-Windows case, on a Windows host).npm run skills:validate,npm run skills:check-linksand the description pre-commit hook pass.SKILL.mdis 39,789 bytes; the description is 1,011 characters.migrate versionprints Helm's version, andmigrate analyze/upgradeagree with the standalone tool on all 40 Upgrade test projects.UIPATH_ACTIVITY_MIGRATOR_OFFLINE=1the script still asksuip rpa project migrate version, which downloads nothing once rpa-tool and Helm are installed; whetheruipinstalls a missing tool on first use offline is not verified here.uipwith a Helm that carries the migrator, which UiPath/Studio#31591 produces.🤖 Generated with Claude Code